package com.macro.mall.common.dto;

import io.micrometer.core.instrument.search.Search;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author：尚志豪
 * @Package：com.macro.mall.common.dto
 * @Project：mall-swarm-B
 * @name：EsTableRes
 * @Date：2024/10/29 11:22
 */
@Data
public class EsTableRes {
    @NotNull(message = "索引名称不能为空")
    private String indexName;

    private Integer pageSize;

    private Integer pageNum;

    private String sort;

    private String price;

    private String keyWord;

    private SearchFields searchFields = new SearchFields();
}
